import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import router from './router/index'
import store from './store'

import '@/styles/layout/index.scss'

import i18n from './langs'
import locale from 'element-ui/lib/locale'
locale.use(i18n)
// import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/common/element-variables.scss'
import  '@/utils/directive.js'
// Vue.use(ElementUI, {
//   i18n: (key, value) => i18n.t(key, value)
// })
import './plugins/index'
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)

import utils from '@/utils/index.js'
Vue.prototype.utils = utils


new Vue({
  store,
  router,
  i18n,
  render: h => h(App),
}).$mount('#app')
